package com.lagou.edu.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author zhangjinshan
 * @version 1.0
 * @description
 * @date 2021/8/25 下午9:34
 */
@FeignClient(value = "lagou-service-email")
public interface EmailClient {

    @GetMapping("/send/{email}/{code}")
    boolean sendEmail(@PathVariable("email")String email, @PathVariable("code")String code);
}
